package com.xiaoq.feature.entity;

import java.io.Serializable;
import java.util.List;

import org.mongodb.morphia.annotations.Entity;

import com.xiaoq.MongoEntity;
/**
 * 特色必吃评论
 * @author wang zhihao
 *
 */
@Entity(value="comment", noClassnameStored=true)
public class CommentEntity extends MongoEntity implements Serializable{
	
	private String userId; //会员Id
	private String userNickName; // 会员昵称
	private String userLogo; // 会员logo
	private String merchantId; // 商店Id
	private String shopId; // 店家Id
	private String targetType; // 目标类型
	private String targetId; // 目标Id
	private String targetName;// 目标名称
	private String targetLogo; // 目标logo
	private String content; //评论内容
	private List<String> attachImgUrls; //晒度列表
	private Double score; //评分
	private Long vNum; // 浏览量
	private String isMore; // 追评
	private String replyId; // 回评Id
	private List<String> likeitName; // 点赞名称列表（备用）
	private Long pubTime; // 发送时间
	private List<BackComment> backComments; // 回评列表（备用）
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getUserNickName() {
		return userNickName;
	}
	public void setUserNickName(String userNickName) {
		this.userNickName = userNickName;
	}
	public String getUserLogo() {
		return userLogo;
	}
	public void setUserLogo(String userLogo) {
		this.userLogo = userLogo;
	}
	public String getMerchantId() {
		return merchantId;
	}
	public void setMerchantId(String merchantId) {
		this.merchantId = merchantId;
	}
	public String getShopId() {
		return shopId;
	}
	public void setShopId(String shopId) {
		this.shopId = shopId;
	}
	public String getTargetType() {
		return targetType;
	}
	public void setTargetType(String targetType) {
		this.targetType = targetType;
	}
	public String getTargetId() {
		return targetId;
	}
	public void setTargetId(String targetId) {
		this.targetId = targetId;
	}
	public String getTargetName() {
		return targetName;
	}
	public void setTargetName(String targetName) {
		this.targetName = targetName;
	}
	public String getTargetLogo() {
		return targetLogo;
	}
	public void setTargetLogo(String targetLogo) {
		this.targetLogo = targetLogo;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public List<String> getAttachImgUrls() {
		return attachImgUrls;
	}
	public void setAttachImgUrls(List<String> attachImgUrls) {
		this.attachImgUrls = attachImgUrls;
	}
	public Double getScore() {
		return score;
	}
	public void setScore(Double score) {
		this.score = score;
	}
	public Long getvNum() {
		return vNum;
	}
	public void setvNum(Long vNum) {
		this.vNum = vNum;
	}
	public String getIsMore() {
		return isMore;
	}
	public void setIsMore(String isMore) {
		this.isMore = isMore;
	}
	public String getReplyId() {
		return replyId;
	}
	public void setReplyId(String replyId) {
		this.replyId = replyId;
	}
	public List<String> getLikeitName() {
		return likeitName;
	}
	public void setLikeitName(List<String> likeitName) {
		this.likeitName = likeitName;
	}
	public Long getPubTime() {
		return pubTime;
	}
	public void setPubTime(Long pubTime) {
		this.pubTime = pubTime;
	}
	public List<BackComment> getBackComments() {
		return backComments;
	}
	public void setBackComments(List<BackComment> backComments) {
		this.backComments = backComments;
	}
	

}
